<?php

//配置常量
define('CONFIG_PATH','./config.php');
//引入相应函数
include './function.php';
//引入相应的类
include './Pdo.class.php';

$config = array(
	"DB_HOST"=>'127.0.0.1',
	"DB_USERNAME"=>'root',
	"DB_PASSWORD"=>'',
	"DB_DATABASES"=>'ghp_mysql',
	"DB_UTF"=>'utf8',
	);
$pdo = new Model($config);
$sql = "select * from stu";

$result = $pdo->query($sql);
D($result);
	


?>